package com.powernode.springmvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Author: 曾铖坚
 * @Date: 2024/10/8 20:59
 * @Version: 1.0.0
 */
@Controller
public class IndexController {
    @RequestMapping(value = "/", method = RequestMethod.POST)
    public String toIndex() {
        return "index";
    }
}
